package com.xianyu.us.common.exception;

/**
 * 自定义的异常类
 * @author wangshili
 *
 */

public class ServiceException extends RuntimeException{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1940110770050915630L;


	/**
	 * 无参构造，直接执行RuntimeException无参构造方法
	 */
	public ServiceException() {
		super();
	};
	
	/**
	 * 
	 * @param errorMsg 自定义异常消息
	 */
	public ServiceException(String errorMsg) {
		super(errorMsg);
	}
	
	
	/**
	 * 
	 * @param able 其他异常
	 */
	public ServiceException(Throwable able) {
		super(able);
	}
}
